﻿#include "PixelShader.h"
#include "RenderObject.h"

/////////////////////////////////////////////////////
// UPixelShader

UPixelShader::UPixelShader(const FObjectInitializer& ObjectInitializer)
	: Super(ObjectInitializer)
{

}

void UPixelShader::Discard(bool& bDiscardCurPixel)
{
	bDiscardCurPixel = true;
}

FLinearColor UPixelShader::RunPixelShader(const FVertexToPixelInterpolants& Pixel, bool& bDiscardCurPixel)
{
	return Pixel.Color;
}

/////////////////////////////////////////////////////
